Authenticate using Drupal 8 to Drupal 10 with changed password hash
Compatible with DokuWiki
Similar to authdrupal7
Note: Wrong use of some settings can make your wiki unreachable. Be sure to read the full documentation before installing/activating the plugin.
External requirements: This plugin requires the following additional components that must be installed separately:
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
When using the plugin Dokuwiki will get the user and login information from a Drupal database.
Users can login using their Drupal login credentials. Registering and modifying users is not possible (and most likely will not be) as this functionality is provided by Drupal.
Dokuwiki will read user groups and memberships from the Drupal 8 or 9 database as well. Make sure you read the configuration instructions further below on this page.
After installation and activation the plugin can be configured using the dokuwiki configuration page. Make sure you stick to the suggested order unless you know exactly what you do.
You will find an authdrupal8-section on your config page. Edit the following values:
mypre_
, make sure it ends with an underscorelocalhost
Dokuwiki will use the Drupal roles as usergroups. To get the correct permissions for your users you have to edit the ACL settings.
When granting permissions the user group names are replaced with Drupal role names. If you want to grant access to all Drupal users that are members of the role wiki
use the user group name @wiki
.
Go to the authentication section of the configuration page.
@administrator
. I highly recommend you to be part of this group as it will be necessary to access the administration section afterwards. I highly recommend keeping “@admin” too, so that you can easily go back to “authplain”.I highly recommend that you create new Drupal roles for use in your Dokuwiki permissions. Doing this you will be able to grant or deny wiki permissions without affecting your drupal permission. Not neccessarily should every Drupal admin have superuser rights in Dokuwiki. Create and assign this roles using Drupal administration tools.
The authdrupal8
plugin widely bases on the authdrupal7 plugin by Matthias Jung.
Some changes were neccessary as Drupal 8 to 10 uses some algorithms for hashing passwords that were not realizable using the authdrupal7 plugin.